﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog.Master" AutoEventWireup="true" CodeBehind="RouteInfoEdit.aspx.cs" Inherits="NetDon.OA.Portal.Admin.RouteInfoEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <NetDon:FormPanel runat="server" RepeatColumns="1" ID="formCurrency">
        <Items>
            <NetDon:FormItem HeaderText="路线名称">
                <ContentTemplate>
                    <asp:TextBox ID="txtRouteName" runat="server" Text='<%#Bind("RouteName") %>'
                        MaxLength="30"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtRouteName" ErrorMessage="请输入车型名称。"
                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </ContentTemplate>
            </NetDon:FormItem>
            <NetDon:FormItem HeaderText="对应的运输计划号（前缀）">
                <ContentTemplate>
                    <asp:TextBox ID="txtTransportationPrefix" runat="server" Text='<%#Bind("TransportationPrefix") %>' MaxLength="9"></asp:TextBox>
                 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTransportationPrefix" ErrorMessage="请输入运输计划号（前缀）。"
                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </ContentTemplate>
            </NetDon:FormItem>
                <NetDon:FormItem HeaderText="对应的交货单号（前缀）">
                <ContentTemplate>
                    <asp:TextBox ID="txtDeliveryOrderCodePrefix" runat="server" Text='<%#Bind("DeliveryOrderCodePrefix") %>' MaxLength="9"></asp:TextBox>
                 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtTransportationPrefix" ErrorMessage="请输入交货单号（前缀）。"
                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </ContentTemplate>
            </NetDon:FormItem>
        </Items>
    </NetDon:FormPanel>
    <div style="margin-top: 5px; text-align: center">
        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
        <asp:Button ID="btnCancel" runat="server" Text="取消"
            CausesValidation='false' />
    </div>
    <asp:ValidationSummary runat="server" ShowMessageBox="true" ShowSummary="false" DisplayMode="BulletList"
        ID="summary" />
</asp:Content>